package com.zzh.zzhaiagent.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("body")
@Tag(name = "body参数")
public class BodyController {

    @PostMapping("test")
    @Operation(summary = "测试body参数")
    public String test(String body) {
        return "body参数：" + body;
    }
}
